// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

package com.planw.beetl.sql.language;

import com.intellij.openapi.fileTypes.LanguageFileType;
import javax.swing.Icon;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class SimpleFileType extends LanguageFileType {
  public static final SimpleFileType INSTANCE = new SimpleFileType();

  private SimpleFileType() {
    super(SimpleLanguage.INSTANCE);
  }

  @Override
  public @NotNull String getName() {
    return "Simple File";
  }
  @Override
  public @NotNull String getDescription() {
    return "Simple language file";
  }
  @Override
  public @NotNull String getDefaultExtension() {
    return "md";
  }
  @Override
  public @Nullable Icon getIcon() {
    return SimpleIcons.FILE;
  }
}

